package com.heima.model.behavior.pojos;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 用户行为表
 *
 * @author yht
 * @date 2022/1/15 9:15
 */
@Data
@TableName("bh_behavior")
public class BhBehavior {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("article_id")
    private Long articleId;

    @TableField("type")
    private Short type;

    @TableField("user_id")
    private Integer userId;

    @TableField("created_time")
    private Date createdTime;

    @TableField("content_type")
    private Short contentType;


}
